package com.haixin.security.dao;

import com.haixin.security.bean.Permission;

import java.util.List;

public interface PermissionMapper {
    void insertPermission(Permission permission);
    void updatePermission(Permission permission);
    void deletePermission(int id);
    Permission selectPermissionById(int id);
    List<Permission> selectAllPermissions();
}
